import { useRoutes } from 'react-router-dom'
import baseRouter from './baseBouter'

export default function RouterView() {
	const elemnt = useRoutes(baseRouter)
	return (<>{elemnt}</>)
}